package org.bright.service;

import org.bright.entity.PurchaseOrderDetails;
import com.baomidou.mybatisplus.extension.service.IService;
import org.bright.vo.PurchaseOrderDetailsProductsVO;

import java.util.List;

/**
 * <p>
 * 采购明细表 记录每个采购订单的具体商品信息。 服务类
 * </p>
 *
 * @author bright
 * @since 2024-10-21
 */
public interface IPurchaseOrderDetailsService extends IService<PurchaseOrderDetails> {
    int insertIntoOrderDetails(List<PurchaseOrderDetails> purchaseOrderDetails);
    List<PurchaseOrderDetailsProductsVO> selectAllByOrderIdAndSupplierId(String orderId, Integer supplierId);
    List<PurchaseOrderDetails> selectProductIdFromOrderId(String orderId);
}
